package com.example.lxc415billiards.mapper;

import com.example.lxc415billiards.domain.BilliardTable;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BilliardTableMapper {
    List<BilliardTable> selectAllTables();

    BilliardTable selectTableById(int tableId);

    int insertTable(BilliardTable table);

    int deleteTableById(int tableId);

    int updateTable(BilliardTable table);
}
